#import <Foundation/Foundation.h>
typedef enum {
    KeyTypePublic = 0,
    KeyTypePrivate
}KeyType;
@interface DDRSAHandler : NSObject
typedef struct
{
    BOOL (*importKeyWithTypeAndPath)(KeyType type, NSString *path);
    BOOL (*importKeyWithTypeAndKeyString)(KeyType type, NSString *keyString);
    BOOL (*verifyStringWithSign)(NSString *string, NSString *sign);
    BOOL (*MD5StringWithSign)(NSString * string, NSString *sign);
    NSString * (*signString)(NSString *string);
    NSString * (*signMD5String)(NSString *string);
    NSString * (*md5)(NSString *input);
    NSString * (*encryptWithPublicKey)(NSString * content);
    NSString * (*decryptWithPrivateKey)(NSString * content);
    id (*rc4_dec)(NSString * input, NSString *key);
}DDRSAHandlerManager;
DDRSAHandlerManager handlerManager(void);

@end
